package shop.web.controller.manage.organize;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import shop.core.Services;
import shop.services.manage.organize.OrganizeService;
import shop.services.manage.organize.bean.Organize;
import shop.core.BaseController;

/**
 * @Description 机构管理
 * @Author semstouch
 * @Date 2017/4/15
 **/
@Controller
@RequestMapping("/manage/organize/")
public class OrganizeAction extends BaseController<Organize> {
    @Autowired
    private OrganizeService organizeService;

    private static final String page_toList = "/manage/organize/organizeList";
    private static final String page_toEdit = "/manage/organize/organizeEdit";
    private static final String page_toAdd = "/manage/organize/organizeAdd";
    private OrganizeAction() {
        super.page_toList = page_toList;
        super.page_toAdd = page_toAdd;
        super.page_toEdit = page_toEdit;
    }

    @Override
    public Services<Organize> getService() {
        return organizeService;
    }


}
